package com.dinner.util;

import java.util.Calendar;

public final class TimeStampUtil {

	public final static String getCurrentTimeInStringFormat() {

		Calendar calendar = Calendar.getInstance();

		return new StringBuilder("").append(calendar.get(Calendar.YEAR))
				.append(calendar.get(Calendar.MONTH) + 1)
				.append(calendar.get(Calendar.DATE))
				.append(calendar.get(Calendar.HOUR_OF_DAY))
				.append(calendar.get(Calendar.MINUTE))
				.append(calendar.get(Calendar.SECOND)).toString();

	}
}
